Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NTheme Class / GetRule Method / GetRule(NSchema,NThemeSelectorPart[]) Method


In This Topic
    GetRule(NSchema,NThemeSelectorPart[]) Method
    In This Topic
    Gets the rule associated with the given baseSchema in the specified context.
    Syntax
    'Declaration
     
    
    Protected Friend Overloads Function GetRule( _
       ByVal baseSchema As NSchema, _
       ByVal ParamArray parts() As NThemeSelectorPart _
    ) As NThemeRule
    'Usage
     
    
    Dim instance As NTheme
    Dim baseSchema As NSchema
    Dim parts() As NThemeSelectorPart
    Dim value As NThemeRule
     
    value = instance.GetRule(baseSchema, parts)
    protected internal NThemeRule GetRule( 
       NSchema baseSchema,
       params NThemeSelectorPart[] parts
    )

    Parameters

    baseSchema
    parts
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also